<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		?>
		<?php
		include_once 'public/home/html/faltSelect.php';
		?>
		<link rel="stylesheet" href="public/css/edit.css" />
		<script src="cust/js/menuEdit.js"></script>
		<script src="public/js/cus_modal.js"></script>
		<link rel="stylesheet" href="public/home/css/index.css" />
		<style>
			ul{
				margin-left: 0px;
			}
			body, html{
				max-width: 100%;
				width:100%;
				height:auto;
				min-height: 0px;
			}
			input{
	    		border:none!important;
	    		outline: none!important;
	    		width:100%;
	    		height:20px!important;
	    		font-size: 12px;
	    		resize:none;
	    	}
	    	textarea{
	    		border:none!important;
	    		outline: none!important;
	    		width:100%;
	    		font-size: 12px;
	    		resize:none;
	    	}
			.menDianBanner{
			    margin-top: 0px;
			}
			.paiHBox{
			    padding:25px 20px 10px 20px;
			}
			.paiHBackground{
			    margin-bottom: 25px!important;
			    height:80px!important;
			    /*left: 5%!important;*/
			}
			.paiHBackground span{
			    overflow:hidden;
			}
			.paiHBox>.menDian:nth-child(2) {
			    margin-bottom: 10px;
			}
			.paiHBackground img {
			    width: 100%;
			    height:60px;
			}
		</style>
	</head>
	<body>
		<div class="container">
		<div class="col-xs-12 col-md-12">
			<!-- <form id="edit_form"> -->
				<input type="hidden" id="id" value="<?php echo $id ?>">
				<div class="widget-box" style="margin-top: 25px;">
			        <div class="widget-body">
			            <div class="widget-main">
			                <p class="muted">
			                    <form id="editForm">
			                        <input type="hidden" id="id" name="id" value="<?php echo $id ?>" />
			                        <input type="hidden" id="pid" name="pid" value="<?php echo $pid ?>" />
			                        <div class="profile-user-info profile-user-info-striped">
			                            <div class="profile-info-row">
			                                <div class="profile-info-name"> 菜单名称 </div>
			                                <div class="profile-info-value">
			                                    <span class="editable editable-click" id="username"><input type="text" name="name" class="name" value="<?php echo estr($detail, 'name') ?>" maxlength="8"></span>
			                                </div>
			                            </div>
			                            
			                            <div class="profile-info-row">
			                                <div class="profile-info-name"> 菜单链接 </div>
			                                <div class="profile-info-value">
			                                    <span class="editable editable-click" id="age"><textarea name="href" class="href" rows="3"><?php echo estr($detail, 'href') ?></textarea> </span>
			                                </div>
			                            </div>

			                            <div class="profile-info-row">
			                                <div class="profile-info-name"> 排序 </div>
			                                <div class="profile-info-value">
			                                    <span class="editable editable-click" id="username"><input type="number" name="order" class="order" value="<?php echo estr($detail, 'order') ?>" maxlength="8"></span>
			                                </div>
			                            </div>

			                            
			                        </div>
			                    </form>
			                </p>
			                <hr>
			                <p>
			                	<span class="btn btn-danger btn-sm tooltip-info" data-rel="tooltip" data-placement="bottom" title="" data-original-title="Bottm Danger" onclick="save()">保存</span>
			             
			                </p>
			            </div>
			        </div>
			    </div>
			<!-- </form> -->
		</div>

		</div>	
	</body>
	
</html>
